<html>
    <head>
        <style>
error {
    background-color: red;
}
warning {
    background-color: yellow;
}
info {
    text-decoration-style: wavy;
    text-decoration: underline;
}
unused {
    background-color: lightgray;
}
keyword {
    font-weight: bold;
}
        </style>
    </head>
    <body>
        <p>
            In file <b>src/main/kotlin/My.kt:8:12</b>:
        </p>
        <pre>
<keyword>data</keyword> <keyword>class</keyword> <unused>My</unused> <keyword>private</keyword> <keyword>constructor</keyword>(<keyword>val</keyword> x: Double, <keyword>val</keyword> y: Int, <keyword>val</keyword> z: String)
        </pre>
        <p>
            <i>Class &quot;My&quot; is never used</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:8:15</b>:
        </p>
        <pre>
<keyword>data</keyword> <keyword>class</keyword> My <warning><keyword>private</keyword></warning> <keyword>constructor</keyword>(<keyword>val</keyword> x: Double, <keyword>val</keyword> y: Int, <keyword>val</keyword> z: String)
        </pre>
        <p>
            <i>Private data class constructor is exposed via the generated 'copy' method.</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:10:5</b>:
        </p>
        <pre>
<keyword>fun</keyword> <unused>canBeVal</unused>(): Int {
    <keyword>var</keyword> x = 1
    <keyword>var</keyword> y = x * 2
    
...
        </pre>
        <p>
            <i>Function &quot;canBeVal&quot; is never used</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:11:5</b>:
        </p>
        <pre>
{
    <error><keyword>var</keyword></error> x = 1
    <keyword>var</keyword> y = x * 2
    <keyword>var</keyword> z = &quot;98&quot; + y
    
...
        </pre>
        <p>
            <i>Variable is never modified and can be declared immutable using 'val'</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:12:5</b>:
        </p>
        <pre>
{
    <keyword>var</keyword> x = 1
    <error><keyword>var</keyword></error> y = x * 2
    <keyword>var</keyword> z = &quot;98&quot; + y
    <keyword>return</keyword> z.toInt()

...
        </pre>
        <p>
            <i>Variable is never modified and can be declared immutable using 'val'</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:13:5</b>:
        </p>
        <pre>
...
<keyword>var</keyword> x = 1
    <keyword>var</keyword> y = x * 2
    <error><keyword>var</keyword></error> z = &quot;98&quot; + y
    <keyword>return</keyword> z.toInt()
}
        </pre>
        <p>
            <i>Variable is never modified and can be declared immutable using 'val'</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:17:5</b>:
        </p>
        <pre>
<keyword>fun</keyword> <unused>foldToElvis</unused>(arg: Int?): Int {
    <keyword>val</keyword> n = arg
    <keyword>if</keyword> (n == <keyword>null</keyword>) <keyword>return</keyword> -1
    
...
        </pre>
        <p>
            <i>Function &quot;foldToElvis&quot; is never used</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:19:5</b>:
        </p>
        <pre>
{
    <keyword>val</keyword> n = arg
    <info><keyword>if</keyword> (n == <keyword>null</keyword>) <keyword>return</keyword> -1</info>
    <keyword>return</keyword> n
}
        </pre>
        <p>
            <i>Replace 'if' with elvis operator</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:23:7</b>:
        </p>
        <pre>
<keyword>class</keyword> <unused>Unused</unused> {
    <keyword>val</keyword> s: String <keyword>get</keyword>() = &quot;&quot;
    <keyword>fun</keyword> bar(s: String) = s

...
        </pre>
        <p>
            <i>Class &quot;Unused&quot; is never used</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:24:9</b>:
        </p>
        <pre>
{
    <keyword>val</keyword> <unused>s</unused>: String <keyword>get</keyword>() = &quot;&quot;
    <keyword>fun</keyword> bar(s: String) = s
}
        </pre>
        <p>
            <i>Property &quot;s&quot; is never used</i>
        </p>
        <p>
            In file <b>src/main/kotlin/My.kt:25:9</b>:
        </p>
        <pre>
{
    <keyword>val</keyword> s: String <keyword>get</keyword>() = &quot;&quot;
    <keyword>fun</keyword> <unused>bar</unused>(s: String) = s
}
        </pre>
        <p>
            <i>Function &quot;bar&quot; is never used</i>
        </p>
    </body>
</html>
